package com.yuqingxin.redisCacheApi.common.result;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;

/**
 * 自定义接口返回状态枚举
 * */
@AllArgsConstructor
@NoArgsConstructor
@Getter
public enum ResultEnum {

    SUCCESS(200,"success"),
    ERROR(500,"error");

    private Integer code;

    private String message;

}
